<?php 
include 'system/libraries/database.php';

?>
  
<table id="LoginOrRegister">
  <tr>
    <td class="left">
      <form class="form form-blue" id="formLoginUser" action="#" method="POST">
        <div class="form-description">
          <h2>Autentificare</h2>
          <h4>Vă rugăm să introduceţi emailul şi parola Dvs:</h4>
        </div>
        <div class="generic-error-container"></div>
        <div class="form-field">
          <label for="formLoginUser_email" id="formLoginUser_email-label" class="label">Email:
            <span class="required">*</span>
            <span class="field-error"></span>
          </label>
          <input type="text" class="medium textbox" value="" id="formLoginUser_email" name="email">
        </div>
        <div class="form-field" >
          <label for="formLoginUser_password" id="formLoginUser_password-label" class="label">Parolă:
            <span class="required">*</span>
            <span class="field-error"></span>
          </label>
          <input type="password" class="medium textbox" value="" id="formLoginUser_password" name="password">
        </div>
        <span class="submit-container" id="formLoginUser_submit" name="submit">
          <span class="rounded-button btn-orange-small">
            <input type="submit" class="submit-button" onclick="UserLogIn(); return false;" value="Autentificare">
          </span>
        </span>
        <div class="clear"></div>
      </form>
    </td>
      <td class="right">
        <form class="form form-blue" id="formRegisterUser" action="#"  >
          <div class="form-description">
            <h2>Înregistrare</h2><h4>Introduceţi adresa de email şi parola:</h4>
          </div>
          <div class="generic-error-container"></div>
          <div class="form-field">
            <label for="formRegisterUser_displayName" id="formRegisterUser_displayName-label" class="label">Nume utilizator:
              <span class="required">*</span>
            <span class="field-error"></span>
            </label>
            <input type="text" class="medium textbox" value="" id="formRegisterUser_displayName" name="displayName">
          </div>
          <div class="form-field">
            <label for="formRegisterUser_email" id="formRegisterUser_email-label" class="label">Email:
              <span class="required">*</span>
              <span class="field-error"></span>
            </label>
            <input type="text" class="medium textbox" value="" id="formRegisterUser_email" name="email">
          </div>
          <div class="form-field">
            <label for="formRegisterUser_password" id="formRegisterUser_password-label" class="label">Parolă:
              <span class="required">*</span>
              <span class="field-error"></span>
            </label>
            <input type="password" class="medium textbox" value="" id="formRegisterUser_password" name="password">
          </div>
          <div class="form-field">
            <label for="formRegisterUser_passwordConfirm" id="formRegisterUser_passwordConfirm-label" class="label">Confirmare parolă:
              <span class="required">*</span>
              <span class="field-error"></span>
            </label>
            <input type="password" class="medium textbox" value="" id="formRegisterUser_passwordConfirm" name="passwordConfirm">
          </div>
          <span class="submit-container" id="formRegisterUser_submit" name="submit">
            <input type="submit" class="submit-button" onclick="UserRegistration(); return false;" value="Înregistrare">
          </span>
          <div class="clear"></div>
        </form>
      </td>
  </tr>
</table>